package model
{
	import mx.messaging.channels.StreamingAMFChannel;
	
	[RemoteClass(alias="model.Salle")]
	[Bindable] 
	public class Salle
	{
		private var m_id_salle		:Number;
		private var m_nom			:String = "";
		private var m_capacite 		:Number = 0;
		private var m_collSeances 	:Array;
		
		public function Salle()
		{
		}
		
		public function get id_salle():Number{
			return m_id_salle;
		}
		
		public function set id_salle(value:Number):void{
			m_id_salle = value;
		}
		
		public function get nom():String{
			return m_nom;
		}
		
		public function set nom(value:String):void{
			m_nom = value;
		}
		
		public function get capacite():Number{
			return m_capacite;
		}
		
		public function set capacite(value:Number):void{
			m_capacite = value;
		}
		
		public function get collSeances():Array{
			return m_collSeances;
		}
		
		public function set collSeances(value:Array):void{
			m_collSeances = value;
		}
		
		public function toString():String
		{
			return m_nom;
		}
	}
}